Skip to main content

ADBlocker

On-premises agent to block and unblock users on the Active Directory based on missing timesheets in Skills Workflow

Framework/Tools/Dependencies

  • .NET Framework 4.5.2
  • Visual Studio 2015 or later

Running Instructions - Windows

  • Download the source code and open the solution in Visual Studio.
  • Open app.config file and change the app settings accordingly. These settings are explained further below.
  • Run the application

Scheduling Instructions - Windows

  • ADBlocker application should be run as a Scheduled Task. Create a new Scheduled Task in Task Scheduler.
  • Manage the created Task. Choose a user with permissions to run the task and set a trigger to run the task in repeat mode.
  • The ADBlocker task should run with a recurring short period of time.
  • Set the task to run the ADBlocker.exe file. No entry parameters are required

ADBlocker Settings

This are the credentials for the Active Directory you're accessing.

  • AD:Domain

    • This setting should be parametrized with the Active Directory domain.
  • AD:User

    • Active Directory User Username. This user should have permissions to block/unblock users from the Active Directory.
  • AD:Password

    • Active Directory User password.